class VMStat
  def initialize()
    @vmstat = Hash.new
    vmstat = IO.readlines("/proc/vmstat")
    vmstat.each do |line|
      fields = line.split(' ')
      name = fields.shift
      @vmstat[name] = fields.shift
    end
  end
end
